package com.chenjim.daemon;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.chenjim.daemon.account.AccountHelper;
import com.chenjim.daemon.service.MyJobService;

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        //账户同步拉活
        AccountHelper.addAccount(this);
        AccountHelper.autoSync();


        //JobScheduler拉活
        MyJobService.startJob(this);

    }

}
